package cn.ryh.globalexception.exception;

/**
 * @author Rao
 * @Description
 * @create 2022-04-14 10:51
 */
public class MyException extends RuntimeException {
    public MyException() {
        super();
    }

    public MyException(String message) {
        super(message);
    }

    @Override
    public String getMessage() {
        return "MyException:" + super.getMessage();
    }

    @Override
    public String getLocalizedMessage() {
        return "MyException:" + super.getLocalizedMessage();
    }


    @Override
    public String toString() {
        return "MyException:" + super.toString();
    }

    @Override
    public void printStackTrace() {
        super.printStackTrace();
    }
}
